import type { RouteRecordRaw } from 'vue-router'
import Layout from '@/layouts/index.vue'

const Index: RouteRecordRaw[] = [
  {
    path: '/',
    component: Layout,
    redirect: {
      path: '/home'
    },
    children: [
      {
        path: '/home',
        name: 'Home',
        component: () => import('@/views/index/index.vue'),
        meta: {
          title: '首页'
        }
      }
    ]
  }
]

export default Index
